<%-- 
    Document   : EditStudent
    Created on : Sep 21, 2012, 5:23:37 PM
    Author     : Admin
--%>

<%@page import="Controller.MyLib"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Sửa sinh viên</title>
        <link href="style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
         <%
            request.setCharacterEncoding("utf-8");
            
            String tb = MyLib.getParameter("tb", request);
            String studentID = MyLib.getParameter("studentID", request);
            String name = MyLib.getParameter("name", request);
            String birth = MyLib.getParameter("birth", request);
            String createdDate = MyLib.getParameter("createdDate", request);
            String gender = MyLib.getParameter("gender", request);
            String classLearning = MyLib.getParameter("classLearning", request);
            
        %>
    
       
<body>
<form id="form1" name="form1" method="post" action="Controller">
  <table width="300" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <th colspan="2" bgcolor="#EDF2F6" scope="col"><p>&nbsp;</p>
        <p class="style1">SỬA SINH VIÊN</p>
      <p>&nbsp;</p></th>
    </tr>
    <tr>
    
      <td height="0" bgcolor="#EDF2F6" valign="top"><p class="font">Mã SV:        </p>
          <p class="font">Tên sinh viên:</p>
        <p class="font">Ngày sinh:</p>
        <p class="font">Giới tính:</p>
        <p class="font">Niên khóa:</p>
      <p class="font">Lớp: </p></td>
      <td valign="top" bgcolor="#EDF2F6"><label>        <br />
        <input type="text" name="txtStudentID" id="mssv" value="<%=studentID%>"/>
        <br />
        <br />
        <input type="text" name="txtStudentName" id="name" value="<%=name%>" onfocus="true"/>
        <br />
        <br />
        <input type="text" name="txtStudentBirth" id="date" value="<%=birth%>"/>
        <br />
        <br />
        <input type="radio" name="rdoGender" id="nam" value="Nam" checked="true"/>
        Nam
        <input type="radio" name="rdoGender" id="nu" value="Nu" />
        Nữ<br />
        <br />
        <input type="text" name="txtStudentCreated" id="year" value="<%=createdDate%>"/>
        <br />
        <br />
        <input type="text" name="txtClass" id="class" value="<%=classLearning%>"/>
        <br />
      </label></td>
    </tr>
    <tr>
      <td colspan="2" bgcolor="#EDF2F6"><div align="center">
        <label for="update"></label>
        <input type="submit" name="update" id="update" value="Cập nhật" />
      </div></td>
    </tr>
  </table>
  <p align="center" class="style1">&nbsp;</p>
  <%=tb%>
</form>
    </body>
</html>
